package com.gen.info.generate_cluster_information.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

@Component
public class InitAPP implements ApplicationRunner {
    @Autowired
    private MainTask mainTask;
    /*初始化程序*/
    @Override
    public void run(ApplicationArguments args) throws Exception {
         mainTask.CreateClusterRS();
    }
}
